/* 公共样式 */
* {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

a {
    text-decoration: none;
}

p,
span,
li,
img {
    cursor: pointer;
    
}


.center {
    width: 1226px;
    margin: auto;
}

img {
    width: 100%;
}

/* header开始 */

header {
    height: 40px;
    color: #b0b0b0;
    font-size: 12px;
    background-color: #333333;
}

header li {
    cursor: pointer;
}

header li:hover {
    color: white;
}

.header_left li {
    float: left;
    line-height: 40px;
}

.header_left span {
    float: left;
    margin: 0 8px;
    line-height: 40px;
    color: #424242;
}

.header_right {
    line-height: 40px;
}

.header_right li {
    float: left;
    padding: 0 5px;
}

.header_right li:nth-of-type(3) {
    padding: 0 20px 0 10px;
}

.header_right li:nth-of-type(4) {
    width: 120px;
    background-color: #424242;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 0;
}

.header_right li:nth-of-type(4):hover {
    color: #ff6700;
    background-color: #fff;
}

.header_right li:nth-of-type(4):hover .icon-gouwuchekong {
    color: #ff6700;
}

.header_right li:nth-of-type(4) p {
    margin-left: 10px;
}

.header_right .icon-gouwuchekong {
    color: #b0b0b0;

}

.header_right span {
    float: left;
    line-height: 40px;
    color: #424242;
}

/* header结束 */

/* nav开始 */
nav {
    height: 100px;
    border-bottom: 1px solid #cecece;
}

nav .center {
    display: flex;

}

nav li {
    cursor: pointer;
}

nav>.center>a {
    display: block;
    width: 234px;
}

nav .center img {
    padding-top: 22px;
    width: 56px;
    height: 56px;
}

.nav-item>li {
    line-height: 100px;
}

.nav-item li {
    float: left;
    padding: 0 10px;
}

nav form {
    height: 50px;
    margin: 25px;
    display: flex;
}

nav form input {
    display: block;
    padding: 0 10px;
    height: 48px;
    width: 223px;
    border: 1px solid #cecece;
    outline: none;
}

nav form button {
    display: block;
    background-color: #fff;
    width: 50px;
    height: 48px;
    border: 1px solid #cecece;
    border-left: 0;
}

/* nav 结束 */

/* main 开始 */
main {
    box-sizing: border-box;
    height: 670px;
    padding-bottom: 26px;
}

/* main_top 开始 */
main .center .main_top {
    height: 460px;
    display: flex;
    position: relative;
}

main .center .aside {
    padding: 20px 0;
    width: 234px;
    height: 420px;
    background-color: rgba(61, 61, 61, 0.5);
    color: #fff;
    font-size: 14px;
    z-index: 10;
}

main .center .aside li {
    width: 204px;
    height: 42px;
    line-height: 42px;
    padding-left: 30px;
}

main .center .aside li:hover {
    background-color: #ff6700;
}

main .center .aside li span {
    float: right;
    padding-right: 10px;
}

/* 轮播图 */
.swiper {
    height: 460px;
    width: 1226px;
    position: absolute;
    left: 0;
    top: 0;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    position: absolute;
    right: 20px;
    color: #868686;
    font-size: 35px;
    user-select: none;
}

.swiper-button-prev:after {
    position: absolute;
    left: 250px;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    left: 535px;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    background-color: #d1d1d1;
    border: 2px solid #5b5b5b;
}

/* main_top 结束 */

/* main_bottom 开始 */
.main_bottom {
    height: 170px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.main_bottom_left {
    width: 234px;
    height: 170px;
    display: flex;
    background-color: #5f5750;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.main_bottom_left li {
    width: 30%;
    height: 45%;
    font-size: 12px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.main_bottom_left li::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 1px;
    height: 65px;
    background-color: #665e57;
}

.main_bottom_left li::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 6px;
    width: 64px;
    height: 1px;
    background-color: #665e57;
}

.main_bottom_left li span {
    margin-bottom: 10px;
}

.main_bottom>div {
    width: 316px;
    height: 170px;
}

.main_bottom>div img {
    width: 100%;
}

/* main_bottom 结束 */

/* section  开始 */
section {
    background-color: #f5f5f5;
}

section .section_top {
    height: 120px;
    padding: 20px 0;
}

section .section_top img {
    height: 100%;
}

.brick-box {
    height: 672px;
}

.brick-box .box-hd {
    display: flex;
    height: 58px;
    justify-content: space-between;
}

.brick-box .box-hd h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 200;
    line-height: 58px;
    color: #333;
}

.brick-box .box-hd .more {
    color: #424242;
    display: flex;
    transition: .2s;
}

.brick-box .box-hd .more p {
    line-height: 58px;
}

.brick-box .box-hd .more .iconfont {
    font-size: 22px;
    line-height: 58px;
    margin-left: 5px;
    color: #b0b0b0;
}

.brick-box .box-main {
    height: 614px;
    display: flex;
    justify-content: space-between;
}

.brick-box .box-main .box-main-left {
    height: 614px;
    width: 234px;
    transition: .3s;
}

.brick-box .box-main .box-main-left img {
    height: 100%;
}

.brick-box .box-main .box-main-list {
    height: 614px;
    width: 980px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
}

.brick-box .box-main .box-main-list li {
    transition: .3s;
    width: 234px;
    height: 260px;
    padding: 20px 0;
    background-color: rgb(255, 255, 255);
    text-align: center;
}

.brick-box .box-main .box-main-list li img {
    width: 160px;
    height: 160px;
}

.brick-box .box-main .box-main-list li .title {
    font-size: 14px;
    margin-bottom: 2px;
    font-weight: normal;
    margin-top: 10px;
}

.brick-box .box-main .box-main-list li .introduce {
    font-size: 12px;
    color: #b0b0b0;
    margin: 0 10px 10px;
}

.brick-box .box-main .box-main-list li .price {
    margin: 0 10px 14px;
    color: #ff6700;
    font-size: 14px;
}

.junengxie {
    padding-top: 25px;
    padding-bottom: 20px;
}

/* section 结束 */
/* tuihuo 开始 */
.tuihuo {
    height: 472px;
}

.tuihuo .top {
    height: 80px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-around;
    overflow: hidden;
}

.tuihuo .top li {
    margin-top: 27px;
    text-align: center;
    width: 24%;
    height: 25px;
    color: #616161;
    /* line-height:80px ; */
    border-right: 1px solid #e0e0e0;
}

.tuihuo .top :nth-last-child(1) {
    border-right: 0
}

.tuihuo .bottom {
    padding-top: 40px;
    padding-left: 160px;
}

.tuihuo .bottom ul {
    width: 160px;
    font-size: 12px;
    color: #757575;
    float: left;
}

.tuihuo .bottom ul :nth-child(1) {
    font-size: 14px;
    color: #424242;
    margin-bottom: 26px;
}

.tuihuo .bottom ul li {
    margin-top: 10px;
}

.tuihuo .bottom>div {
    width: 250px;
    height: 80px;
    border-left: 1px solid #e0e0e0;
    float: right;
    margin-top: 10px;
    text-align: center;
}

.tuihuo .bottom .phone {
    font-size: 22px;
    color: #ff6700;
    margin-bottom: 5px;
}

.tuihuo .bottom .time {
    font-size: 12px;
    color: #616161;
    margin-bottom: 5px;
}

.tuihuo .bottom .rengong {
    transition: all .2s;
    cursor: pointer;
    font-size: 12px;
    color: #ff6700;
    width: 120px;
    height: 30px;
    margin: auto;
    box-sizing: border-box;
    line-height: 30px;
    border: 1px solid #ff6700;
    position: relative;
}

.tuihuo .bottom .rengong .iconfont {
    display: inline-block;
    padding-right: 5px;
    position: absolute;
    top: 2px;
    left: 24px;
}

.tuihuo .bottom .rengong .s1 {
    display: inline-block;
    padding-left: 10px;
}

.tuihuo .bottom .rengong:hover {
    background-color: #ff6700;
    color: white;
}

/* tuihuo 结束 */

/* footer 开始 */
footer {
    height: 266px;
    background-color: #fafafa;
}

footer .center {
    padding: 30px 0;
}

footer .icon {
    width: 76px;
    height: 130px;
    background: url(https://cdn.cnbj1.fds.api.mi-img.com/mi.com-assets/shop/img/logo-mi2.png)no-repeat;
    background-size: 56px 56px;
    float: left;
}

footer .right {
    font-size: 12px;
    color: #b0b0b0;
}

footer .right span {
    display: inline-block;
    padding: 2px;
}

.bcolor {
    color: #757575;
}

footer .right div>img {
    width: 83px;
    height: 28px;
}

footer .right .last {
    width: 368px;
    height: 20px;
    margin: auto;
    display: block;
    margin-top: 40px;
    text-align: center;

}

/* footer 结束 */
/* fixed 开始 */
.fixed {
    width: 84px;
    position: fixed;
    right: 10px;
    bottom: 90px;
    z-index: 1000;
}

.fixed>div {
    height: 92px;
    box-sizing: border-box;
    text-align: center;
    background-color: white;
    border: 1px solid #e0dede;
    color: #9e9e9e;
    border-bottom: 0;
}

.fixed>div:nth-last-child(1),
.fixed>div:nth-last-child(2) {
    border-bottom: 1px solid #e0dede;
}

.fixed>div span {
    display: block;
    font-size: 30px;
    width: 40px;
    padding: 15px 0 8px;
    margin: auto;
}

.fixed>div p {
    font-size: 14px;
    color: #757575;
}

#huidingbu {
    border-top: 1px solid #e0dede;
    margin-top: 10px;
    display: none;
}

/* fixed 结束 */

/* 下载二维码显示/隐藏 */
#appDownload {
    position: relative;

}

#appDownload>div {
    width: 90px;
    height: 110px;
    padding: 18px;
    position: absolute;
    left: -39px;
    top: -106px;
    z-index: 999;
    background-color: rgb(245, 245, 245);
    text-align: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    color: black;
    transition: all .3s;
    opacity: 0;
}

#appDownload div img {
    display: block;
}

#appDownload>span {
    content: '';
    border: 10px solid transparent;
    border-bottom: 10px solid rgb(245, 245, 245);
    position: absolute;
    left: 6px;
    top: -123px;
    opacity: 0;
    transition: .3s;
}

#appDownload .spanMove {
    top: 21px;
    opacity: 1;
}

#appDownload .move {
    top: 40px;
    opacity: 1;
}

#appDownload:hover>div {
    color: black;
}

/* 购物车显示 / 隐藏 */
.cart {
    position: relative;
    overflow: hidden;
}

.cart>div {
    width: 300px;
    height: 100px;
    position: absolute;
    top: 40px;
    left: -180px;
    color: black;
    line-height: 100px;
    text-align: center;
    overflow: hidden;
    z-index: 999;
    transition: .3s;
}

.cart>div>p {
    position: absolute;
    background-color: white;
    height: 100px;
    width: 300px;
    left: -10px;
    top: -100px;
    transition: .3s;
}

.cart>div .hover {
    top: 0;

}

.boxShadow {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

/* nav 显示/隐藏 */
nav {
    position: relative;
}

.nav-bar-list {
    position: absolute;
    left: 0;
    top: 100px;
    z-index: 10000;
    overflow: hidden;
    width: calc(100vw - 20px);
    height: 229px;
    background-color: rgb(255, 255, 255);
    display: none;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.nav-item>li:hover .nav-bar-list {
    display: block;
}

.nav-bar-list .center {

    display: flex;
    position: absolute;
    top: 0;
    left: calc(50% - 612px);
    transition: .3s;
    line-height: normal;
    height: 229px;
    background-color: rgb(255, 255, 255);
    border-top: 1px solid #eee;
    text-align: center;
}

.nav-bar-list .img-box img {
    width: 160px;
    height: 110px;
    margin-bottom: 10px;
}

.nav-bar-list li {
    position: relative;
    flex: 1;
}

.nav-bar-list li:nth-child(1):before {
    display: none;
}

.nav-bar-list li::before {
    width: 1px;
    height: 100px;
    position: absolute;
    content: '';
    left: 0;
    top: 30px;
    background-color: #eee;
}

.nav-bar-list .pname {
    font-size: 12px;
    color: #333;
}

.nav-bar-list .pprice {
    font-size: 12px;
    color: #ff6700;
}

.nav-bar-list a:visited {
    color: #ff6700;
}

.nav-bar-list a:link {
    color: #ff6700;
}

.nav-item>li:hover {
    color: #ff6700;
}

/* section hover时候的变化 */
.box-main-left:hover,
.box-main-list>li:hover {
    transform: scale(1.01) translateY(-3px);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.box-hd .more:hover,
.box-hd .more:hover .iconfont {
    color: #ff6700 !important;
}

.fixed>div {
    position: relative;
    text-align: center;
}

.fixed>div:hover {
    color: #ff6700;
}

.fixed>.app:hover>.erweima {
    display: block;
}

.fixed>div .erweima {
    display: none;
    position: absolute;
    top: 0;
    left: -142px;
    width: 100px;
    height: 162px;
    padding: 14px;
    background-color: white;
    transition: .2s;
    border: 1px solid #d1d1d1;
}

.fixed>div .erweima img {
    margin-bottom: 10px;
}

.fixed>div .erweima p {
    width: 82px;
    margin: auto
}

.nav-item .pname {
    margin: auto;
    text-align: center;
    display: -webkit-box;
    /* 必须结合盒模型 */
    -webkit-box-orient: vertical;
    /* 设置为垂直方向 */
    overflow: hidden;
    /* 隐藏超出内容 */
    text-overflow: ellipsis;
    /* 文本溢出时添加省略号 */
    word-break: break-word;
    /* 确保单词在需要时也能换行 */

    /* 下面两个属性是关键，用来限制显示的行数 */
    -webkit-line-clamp: 2;
    /* 指定显示3行 */
    line-height: 1.5em;
    /* 根据实际情况调整行高 */

    /* 为了兼容性，宽度也需要设置 */
    width: 200px;
    /* 示例宽度，实际根据需求设定 */
}

.box-main-list .title {
    margin: auto;
    text-align: center;
    margin: auto;
    text-align: center;
    display: -webkit-box;
    /* 必须结合盒模型 */
    -webkit-box-orient: vertical;
    /* 设置为垂直方向 */
    overflow: hidden;
    /* 隐藏超出内容 */
    text-overflow: ellipsis;
    /* 文本溢出时添加省略号 */
    word-break: break-word;
    /* 确保单词在需要时也能换行 */

    /* 下面两个属性是关键，用来限制显示的行数 */
    -webkit-line-clamp: 1;
    /* 指定显示3行 */
    line-height: 1.5em;
    /* 根据实际情况调整行高 */

    /* 为了兼容性，宽度也需要设置 */
    width: 200px;
    /* 示例宽度，实际根据需求设定 */
    padding-bottom: 20px;
}

.aside {
    position: relative;
}

.aside>li>.aside_box {
    width: 265px;
    height: 460px;
    background-color: rgb(255, 255, 255);
    position: absolute;
    left: 234px;
    top: 0;
    display: none;
    color: black;
    font-weight: 200;
}

.aside>li>.aside_box>li {
    width: 225px;
    height: 40px;
    line-height: 40px;
    padding: 18px 20px;
    z-index: 10000;
    display: flex;
}
.aside>li>.aside_box>li{
    position: relative;
}
.aside>li>.aside_box>li img {
    width: 40px;
}

.aside>li>.aside_box>li span {
    width: 180px;
    text-align: left;
    line-height: 40px;
    display: block;
    position: absolute;
    left: 70px;
    top: 15px;
    ;
    overflow: hidden;
    /* 隐藏超出容器的内容 */
    white-space: nowrap;
    /* 强制文本在一行内显示，不换行 */
    text-overflow: ellipsis;
    /* 当内容溢出时显示省略号 */
}
.main_bottom>div{
    transition: .3s;
}
.main_bottom>div:hover{
    transform: scale(1.01);
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}
ul.nav-item {
    width: 650px;
}
.asides{
    float: left;
    width: 178px;
}
.header_right a{
    color: #b0b0b0;
    text-decoration:none;
}